﻿namespace ACCOUNTING
{
    using ACCOUNTING.LVY.Business;
    using ACCOUNTING.My.Resources;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_RptDanhSachTaiSanCoDinh : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("CboDiemDat")]
        private ComboBox _CboDiemDat;
        [AccessedThroughProperty("CboDonVi")]
        private ComboBox _CboDonVi;
        [AccessedThroughProperty("CboLoaiTaiSan")]
        private ComboBox _CboLoaiTaiSan;
        [AccessedThroughProperty("CboTinhTrang")]
        private ComboBox _CboTinhTrang;
        [AccessedThroughProperty("CmdCancel")]
        private Button _CmdCancel;
        [AccessedThroughProperty("CmdOK")]
        private Button _CmdOK;
        [AccessedThroughProperty("GroupBox1")]
        private GroupBox _GroupBox1;
        [AccessedThroughProperty("Label1")]
        private Label _Label1;
        [AccessedThroughProperty("Label11")]
        private Label _Label11;
        [AccessedThroughProperty("Label15")]
        private Label _Label15;
        [AccessedThroughProperty("Label2")]
        private Label _Label2;
        private IContainer components;
        private bool mAllowAdd;
        private bool mAllowDel;
        private bool mAllowEdit;
        private bool mAllowView;

        [DebuggerNonUserCode]
        public Frm_RptDanhSachTaiSanCoDinh()
        {
            base.Load += new EventHandler(this.Frm_RptDanhSachTaiSanCoDinh_Load);
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.InitializeComponent();
        }

        private void CmdCancel_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void CmdOK_Click(object sender, EventArgs e)
        {
            this.PrintReport();
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void Frm_RptDanhSachTaiSanCoDinh_Load(object sender, EventArgs e)
        {
            LVYModule.GetUserRight(ref this.mAllowView, ref this.mAllowDel, ref this.mAllowEdit, ref this.mAllowAdd, Conversions.ToString(this.Tag), modGeneral.H_USERNAME);
            if (!this.mAllowView)
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn kh\x00f4ng c\x00f3 quyền xem, li\x00ean hệ với người quản trị để biết th\x00eam chi tiết.", ""));
                this.Dispose();
            }
            else
            {
                BuildComboModule.BuildCombo(this.CboLoaiTaiSan, modGeneral.ListDanhMuc.LoaiTaiSan, true, "", "");
                BuildComboModule.BuildCombo(this.CboDiemDat, modGeneral.ListDanhMuc.ViTri, true, "", "");
                DataTable table = modGeneral.H_DUNGCHUNG.ShowList("0000000006");
                DataRow row = table.NewRow();
                row[0] = "";
                row[1] = "";
                table.Rows.InsertAt(row, 0);
                this.CboTinhTrang.DataSource = table;
                this.CboTinhTrang.ValueMember = "Ma";
                this.CboTinhTrang.DisplayMember = "Ten";
                BuildComboModule.BuildCombo(this.CboDonVi, modGeneral.ListDanhMuc.DonVi, true, "", "");
                this.CboDonVi.SelectedValue = modGeneral.H_CLIENT;
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_RptDanhSachTaiSanCoDinh));
            this.GroupBox1 = new GroupBox();
            this.CboDonVi = new ComboBox();
            this.Label2 = new Label();
            this.Label1 = new Label();
            this.CboDiemDat = new ComboBox();
            this.CboTinhTrang = new ComboBox();
            this.Label15 = new Label();
            this.CboLoaiTaiSan = new ComboBox();
            this.Label11 = new Label();
            this.CmdCancel = new Button();
            this.CmdOK = new Button();
            this.GroupBox1.SuspendLayout();
            this.SuspendLayout();
            this.GroupBox1.BackColor = Color.Transparent;
            this.GroupBox1.Controls.Add(this.CboDonVi);
            this.GroupBox1.Controls.Add(this.Label2);
            this.GroupBox1.Controls.Add(this.Label1);
            this.GroupBox1.Controls.Add(this.CboDiemDat);
            this.GroupBox1.Controls.Add(this.CboTinhTrang);
            this.GroupBox1.Controls.Add(this.Label15);
            this.GroupBox1.Controls.Add(this.CboLoaiTaiSan);
            this.GroupBox1.Controls.Add(this.Label11);
            Point point = new Point(5, 5);
            this.GroupBox1.Location = point;
            this.GroupBox1.Name = "GroupBox1";
            Size size = new Size(0x198, 0x9f);
            this.GroupBox1.Size = size;
            this.GroupBox1.TabIndex = 0;
            this.GroupBox1.TabStop = false;
            this.GroupBox1.Text = "T\x00f9y chọn";
            this.CboDonVi.DropDownStyle = ComboBoxStyle.DropDownList;
            this.CboDonVi.Enabled = false;
            this.CboDonVi.FormattingEnabled = true;
            point = new Point(0x6f, 0x1b);
            this.CboDonVi.Location = point;
            this.CboDonVi.Name = "CboDonVi";
            size = new Size(0x11c, 0x15);
            this.CboDonVi.Size = size;
            this.CboDonVi.TabIndex = 0x84;
            this.Label2.AutoSize = true;
            point = new Point(14, 30);
            this.Label2.Location = point;
            this.Label2.Name = "Label2";
            size = new Size(0x26, 13);
            this.Label2.Size = size;
            this.Label2.TabIndex = 0x83;
            this.Label2.Text = "Đơn vị";
            this.Label1.AutoSize = true;
            point = new Point(13, 0x5c);
            this.Label1.Location = point;
            this.Label1.Name = "Label1";
            size = new Size(50, 13);
            this.Label1.Size = size;
            this.Label1.TabIndex = 130;
            this.Label1.Text = "Điểm đặt";
            this.Label1.TextAlign = ContentAlignment.TopRight;
            this.CboDiemDat.DropDownStyle = ComboBoxStyle.DropDownList;
            this.CboDiemDat.FormattingEnabled = true;
            point = new Point(0x6f, 0x59);
            this.CboDiemDat.Location = point;
            this.CboDiemDat.Name = "CboDiemDat";
            size = new Size(0x11c, 0x15);
            this.CboDiemDat.Size = size;
            this.CboDiemDat.TabIndex = 0x81;
            this.CboTinhTrang.DropDownStyle = ComboBoxStyle.DropDownList;
            this.CboTinhTrang.FormattingEnabled = true;
            point = new Point(0x6f, 120);
            this.CboTinhTrang.Location = point;
            this.CboTinhTrang.Name = "CboTinhTrang";
            size = new Size(0x11c, 0x15);
            this.CboTinhTrang.Size = size;
            this.CboTinhTrang.TabIndex = 0x7f;
            this.Label15.AutoEllipsis = true;
            this.Label15.AutoSize = true;
            point = new Point(12, 0x7c);
            this.Label15.Location = point;
            this.Label15.Name = "Label15";
            this.Label15.RightToLeft = RightToLeft.No;
            size = new Size(0x37, 13);
            this.Label15.Size = size;
            this.Label15.TabIndex = 0x80;
            this.Label15.Text = "T\x00ecnh trạng";
            this.Label15.TextAlign = ContentAlignment.TopRight;
            this.CboLoaiTaiSan.DropDownStyle = ComboBoxStyle.DropDownList;
            this.CboLoaiTaiSan.FormattingEnabled = true;
            point = new Point(0x6f, 0x3a);
            this.CboLoaiTaiSan.Location = point;
            this.CboLoaiTaiSan.Name = "CboLoaiTaiSan";
            size = new Size(0x11c, 0x15);
            this.CboLoaiTaiSan.Size = size;
            this.CboLoaiTaiSan.TabIndex = 0x3e;
            this.Label11.AutoSize = true;
            point = new Point(13, 0x3d);
            this.Label11.Location = point;
            this.Label11.Name = "Label11";
            size = new Size(0x3d, 13);
            this.Label11.Size = size;
            this.Label11.TabIndex = 0x3f;
            this.Label11.Text = "Loại t\x00e0i sản";
            this.Label11.TextAlign = ContentAlignment.TopRight;
            this.CmdCancel.DialogResult = DialogResult.Cancel;
            this.CmdCancel.Image = (Image) manager.GetObject("CmdCancel.Image");
            this.CmdCancel.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x14f, 170);
            this.CmdCancel.Location = point;
            this.CmdCancel.Name = "CmdCancel";
            size = new Size(0x4f, 0x18);
            this.CmdCancel.Size = size;
            this.CmdCancel.TabIndex = 8;
            this.CmdCancel.Text = "&Tho\x00e1t";
            this.CmdCancel.UseVisualStyleBackColor = true;
            this.CmdOK.Image = (Image) manager.GetObject("CmdOK.Image");
            this.CmdOK.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0xfc, 170);
            this.CmdOK.Location = point;
            this.CmdOK.Name = "CmdOK";
            size = new Size(0x4e, 0x18);
            this.CmdOK.Size = size;
            this.CmdOK.TabIndex = 7;
            this.CmdOK.Text = "&Chọn";
            this.CmdOK.UseVisualStyleBackColor = true;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            this.BackgroundImage = ACCOUNTING.My.Resources.Resources.background;
            size = new Size(0x1a2, 0xc9);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.CmdCancel);
            this.Controls.Add(this.CmdOK);
            this.Controls.Add(this.GroupBox1);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.Name = "Frm_RptDanhSachTaiSanCoDinh";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Tag = "BC-0018";
            this.Text = "DANH SACH TAI SAN";
            this.GroupBox1.ResumeLayout(false);
            this.GroupBox1.PerformLayout();
            this.ResumeLayout(false);
        }

        public void PrintReport()
        {
        }

        internal virtual ComboBox CboDiemDat
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboDiemDat;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboDiemDat = value;
            }
        }

        internal virtual ComboBox CboDonVi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboDonVi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboDonVi = value;
            }
        }

        internal virtual ComboBox CboLoaiTaiSan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboLoaiTaiSan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboLoaiTaiSan = value;
            }
        }

        internal virtual ComboBox CboTinhTrang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboTinhTrang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboTinhTrang = value;
            }
        }

        internal virtual Button CmdCancel
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdCancel;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdCancel_Click);
                if (this._CmdCancel != null)
                {
                    this._CmdCancel.Click -= handler;
                }
                this._CmdCancel = value;
                if (this._CmdCancel != null)
                {
                    this._CmdCancel.Click += handler;
                }
            }
        }

        internal virtual Button CmdOK
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdOK;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdOK_Click);
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click -= handler;
                }
                this._CmdOK = value;
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click += handler;
                }
            }
        }

        internal virtual GroupBox GroupBox1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._GroupBox1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._GroupBox1 = value;
            }
        }

        internal virtual Label Label1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label1 = value;
            }
        }

        internal virtual Label Label11
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label11;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label11 = value;
            }
        }

        internal virtual Label Label15
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label15;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label15 = value;
            }
        }

        internal virtual Label Label2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label2 = value;
            }
        }
    }
}

